/**
 * @file 后端接口baseUrl
 * @author liushuang(liushuang04@baijia.com)
 * @update_date 2019-12-10
 */

const envType = process.env.ENV_TYPE || 'local';

// baseurl
export const BaseUrl = {
    // local: 'https://api.baijia.com/mock/2928/',
    local: '//localhost:3024',
    // local: 'http://test-udata.baijia.com',
    dev: 'https://dev-udata.baijia.com',
    test: 'https://test-udata.baijia.com',
    beta: 'https://beta-udata.baijia.com',
    www: 'https://udata.baijia.com',
}[envType];

export const copyUrl = {
    local: 'http://172.23.70.120',
    dev: 'https://dev-udata.baijia.com',
    test: 'https://test-udata.baijia.com',
    beta: 'https://beta-udata.baijia.com',
    www: 'https://udata.baijia.com',
}[envType];

export const type = 1;
